package com.ssy.lingxi.settle.accounts.entity;

import javax.persistence.*;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 账单流转记录DO
 * @author Saske
 * @date 2021/12/7
 * @version 2.0.0
 */
@Entity
@Table(schema = "public",name = "sa_statement_circulation",
    indexes = {@Index(name = "sa_statement_circulation_reconciliationNo_idx",columnList = "reconciliationNo")
    })
public class StatementCirculationRecordDo implements Serializable {

    private static final long serialVersionUID = -1590204680655238741L;

    /**
     * ID
     */
    @Id
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "statement_circulation_seq")
    @SequenceGenerator(sequenceName = "sa_statement_circulation_seq", name = "statement_circulation_seq", allocationSize = 1)
    private Long id;

    /**
     * 对账单号
     */
    @Column(name = "reconciliationNo",columnDefinition = "varchar(50)")
    private String reconciliationNo;

    /**
     * 操作角色
     */
    @Column(name = "operationRole",columnDefinition = "varchar(50)")
    private String operationRole;

    /**
     * 状态
     */
    @Column(columnDefinition = "int")
    private Integer status;

    /**
     * 操作
     */
    @Column(name = "operation",columnDefinition = "varchar(50)")
    private String operation;

    /**
     * 操作时间
     */
    @Column(name = "operationTime")
    private LocalDateTime operationTime;

    /**
     * 审核意见
     */
    @Column(name = "remark",columnDefinition = "varchar(50)")
    private String remark;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getReconciliationNo() {
        return reconciliationNo;
    }

    public void setReconciliationNo(String reconciliationNo) {
        this.reconciliationNo = reconciliationNo;
    }

    public String getOperationRole() {
        return operationRole;
    }

    public void setOperationRole(String operationRole) {
        this.operationRole = operationRole;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public LocalDateTime getOperationTime() {
        return operationTime;
    }

    public void setOperationTime(LocalDateTime operationTime) {
        this.operationTime = operationTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
